package com.bo.mybatis.model;

import lombok.Data;

@Data
public class StudentInfo {
    private Integer id;
    private String name;
    private Integer chinese;
    private Integer math;
    private Integer english;
    private Integer sum;
    private Integer classId;
    private Integer schoolId;

    public StudentInfo(String name, Integer chinese, Integer math, Integer english) {
        this.name = name;
        this.chinese = chinese;
        this.math = math;
        this.english = english;
    }
    private StudentInfo(){

    }
}
